﻿using System.ComponentModel;


namespace Todos.Domain.Entities;

[Description("待办项")]
public class TodoItem : EntityBase, ICreationTime, ILockable
{
    public required string Title { get; set; }

    public string? Description { get; set; }

    public TodoStatus Status { get; set; }

    public DateTime CreatedTime { get; set; }

    public bool IsLocked { get; set; }

    public long ListId { get; set; }
}
